﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PositionManagement.aspx.cs"
    Inherits="LineWatch_Web.PositionManagement" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Untitled Page</title>
    <link href="CSS/Main.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">
        // <!CDATA[

        function start() {
            var i = parseInt(form1.hidTime.value, 10);
            setInterval("refresh()", i * 1000);
        }

        function refresh() {
            window.location = "positionManagement.aspx?line=" + form1.hidLine.value;
        }

        // ]]>
    </script>
</head>
<body onload="start()">
    <form id="form1" runat="server">
    <div>
        <table cellpadding="0" cellspacing="0" style="margin: 20px 0 0 200px">
            <tr style="padding: 3px 0 3px 0">
                <td style="font-weight: bold; font-family: 微软雅黑; font-size: 12pt;">
                    当前流水线
                </td>
                <td style="padding: 0 0 0 50px">
                    <asp:DropDownList ID="ddlLine" runat="server" Font-Bold="True" ForeColor="RoyalBlue"
                        Font-Names="微软雅黑">
                    </asp:DropDownList>
                </td>
                <td style="padding: 0 0 0 30px;">
                    <asp:Button ID="btnView" runat="server" OnClick="btnView_Click" Text="查看" Font-Names="微软雅黑" />
                </td>
            </tr>
            <tr>
                <td colspan="3" valign="middle" align="center" style="font-weight: bold; height: 150px;
                    font-family: 微软雅黑; font-size: 12pt;">
                    工程位管理看板
                </td>
            </tr>
            <tr style="padding: 3px 0 3px 0">
                <td style="font-weight: bold; font-family: 微软雅黑; font-size: 12pt;">
                    求助工位
                </td>
                <td style="padding: 0 0 0 50px" colspan="2">
                    <asp:Label ID="labHelp" runat="server" Text="Label" Font-Bold="True" ForeColor="RoyalBlue"></asp:Label>
                </td>
            </tr>
            <tr style="padding: 3px 0 3px 0">
                <td style="font-weight: bold; font-family: 微软雅黑; font-size: 12pt;">
                    异常工位
                </td>
                <td style="padding: 0 0 0 50px" colspan="2">
                    <asp:Label ID="labAlarm" runat="server" Text="Label" Font-Bold="True" ForeColor="RoyalBlue"></asp:Label>
                </td>
            </tr>
            <tr style="padding: 3px 0 3px 0">
                <td style="font-weight: bold; font-family: 微软雅黑; font-size: 12pt;">
                    紧停工位
                </td>
                <td style="padding: 0 0 0 50px" colspan="2">
                    <asp:Label ID="labStop" runat="server" Text="Label" Font-Bold="True" ForeColor="RoyalBlue"></asp:Label>
                </td>
            </tr>
        </table>
        <input id="hidTime" runat="server" type="hidden" value="5" />
        <input id="hidLine" runat="server" type="hidden" value="111" />
    </div>
    </form>
</body>
</html>
